<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>work1_表单作业</title>
    </head>
    <body>
    <form action="#">
        <h1>欢迎注册</h1>
        <table border="1">
            <tr>
                <td>用户名：</td>
                <td><input type="text" name="username" placeholder="请输入用户名"></td>
            </tr>
            <tr>
                <td>密码：</td>
                <td><input type="password" name="password" placeholder="请输入密码" maxlength="10"></td>
            </tr>
            <tr>
                <td>性别：</td>
                <td>
                    <input type="radio" name="gender" value="1">男
                    <input type="radio" name="gender" value="0">女
                </td>
            </tr>
            <tr>
                <td>爱好：</td>
                <td>
                    <input type="checkbox" name="like" value="movie">电影
                    <input type="checkbox" name="like" value="music" checked>音乐
                    <input type="checkbox" name="like" value="game">游戏
                </td>
            </tr>
            <tr>
                <td>地址：</td>
                <td><input type="text" name="home" placeholder="云南省昆明市呈贡区xxxxxx"></td>
            </tr>
            <tr>
                <td>生日：</td>
                <td><input type="date" name="birthday"></td>
            </tr>
            <tr>
                <td>靓照：</td>
                <td><input type="file"></td>
            </tr>
            <tr>
                <td>所在地：</td>
                <td>
                    <select name="city">
                        <option selected>北京</option>
                        <option>上海</option>
                        <option>广州</option>
                        <option>深圳</option>
                        <option>香港</option>
                        <option>澳门</option>
                        <option>台北</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <input type="checkbox" id="agree">
                    <label for="agree">我同意相关的服务协议</label>
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center"><input type="submit" value="注册"></td>
            </tr>
        </table>
    </form>










    </body>
</html>